@model IEnumerable<ContentPage>
@using MvcCms.Data
<div id="languages" class="languages">
    <table>
        <tr>
            @foreach (ContentPage item in Model)
            {
                <td align="center">
                    <img title="@item.Language.LanguageName Quick View" onclick="ChangeLanguage(@item.Language.LanguageID);" 
                    class="languageinlist" id="lang-@item.Language.LanguageID" 
                    src="/content/images/languages/@item.Language.IconName" /><br />
                    <a title="Go To @item.Language.LanguageName Full Version" href="/translated/@item.ParentLanguageVersion.ContentPageID/@item.Language.PathID/">
                        <img border="0" src="/content/images/greendot.gif" /></a>
                </td>
            }
        </tr>
    </table>
</div>
